Stateman: Using Metafunctions to Manage Large Terms Representing Machine States

نویسنده

  • J. Strother Moore
چکیده

When ACL2 is used to model the operational semantics of computing machines, machine states are typically represented by terms recording the contents of the state components. When models are realistic and are stepped through thousands of machine cycles, these terms can grow quite large and the cost of simplifying them on each step grows. In this paper we describe an ACL2 book that uses HIDE and metafunctions to facilitate the management of large terms representing such states. Because the metafunctions for each state component updater are solely responsible for creating state expressions (i.e., “writing”) and the metafunctions for each state component accessor are solely responsible for extracting values (i.e., “reading”) from such state expressions, they can maintain their own normal form, use HIDE to prevent other parts of ACL2 from inspecting them, and use honsing to uniquely represent state expressions. The last feature makes it possible to memoize the metafunctions, which can improve proof performance in some machine models. This paper describes a general-purpose ACL2 book modeling a byte-addressed memory supporting “mixed” reads and writes. By “mixed” we mean that reads need not correspond (in address or number of bytes) with writes. Verified metafunctions simplify such “read-over-write” expressions while hiding the potentially large state expression. A key utility is a function that determines an upper bound on the value of a symbolic arithmetic expression, which plays a role in resolving writes to addresses given by symbolic expressions. We also report on a preliminary experiment with the book, which involves the production of states containing several million function calls.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Play-off Approach in League Championship Algorithm for Solving Large-Scale Support Vector Machine Problems

There are many numerous methods for solving large-scale problems in which some of them are very flexible and efficient in both linear and non-linear cases. League championship algorithm is such algorithm which may be used in the mentioned problems. In the current paper, a new play-off approach will be adapted on league championship algorithm for solving large-scale problems. The proposed algori...

متن کامل

Decentralized Model Reference Adaptive Control of Large Scale Interconnected Systems with Time-Delays in States and Inputs

This paper investigates the problem of decentralized model reference adaptive control (MRAC) for a class of large scale systems with time varying delays in interconnected terms and state and input delays. The upper bounds of the interconnection terms are considered to be unknown. Time varying delays in the nonlinear interconnection terms are bounded and nonnegative continuous functions and thei...

متن کامل

ITRI-99-08 State of the Art Report on Discourse Markers and Relations

machine can be interpreted together as representing a list of items. (Maier and Hovy, 1991) The next class of relations are referred to as interpersonal relations. Each relation in this class has its own specific effect on the reader. For example, to convince or motivate the reader to do something. They are, therefore, similar to Mann and Thompson’s (Mann and Thompson, 1988) presentational rela...

متن کامل

Circulating metabolic hormones in different metabolic states of high producing Holstein dairy cows

Background: Information regarding the metabolic hormones in different metabolic states of high producing dairy cows can aid high producing herds to manage and resolve the metabolic and production problems. Furthermore, it can be considered as a tool to evaluate metabolic status of dairy cows. Herd managers can also evaluate the energy input-output relationships by assessing the metabolic profil...

متن کامل

Reducing conflicts in groupware: Metafunctions and their empirical evaluation

Certain functions in groupware affect more than one user who might have conflicting interests. To describe conflicts arising from the use of groupware functions, we distinguish the roles of the activator and the user affected. As technical means to lessen these conflicts, we develop two metafunctions: visibility of use and negotiability. We expect that these metafunctions reduce role-based conf...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015